package cn.highedu.coolsharkhub.entity.vo;

/**
 * 商品类别管理视图
 * 和后台管理页面交互数据
 */
public class CategoryManagementVO {
    private Integer id;
    private String name;
    private Boolean display;
    // 默认的构造 所有参数的构造 get和set方法 toString方法
    public CategoryManagementVO() {
    }

    public CategoryManagementVO(Integer id, String name, Boolean display) {
        this.id = id;
        this.name = name;
        this.display = display;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getDisplay() {
        return display;
    }

    public void setDisplay(Boolean display) {
        this.display = display;
    }

    @Override
    public String toString() {
        return "CategoryManagementVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", display=" + display +
                '}';
    }
}
